package com.car.mapper;

import com.car.entity.Exchangetable;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface ExchangetableMapper {
    int deleteByPrimaryKey(Integer changeId);

    int insert(Exchangetable record);

    Exchangetable selectByPrimaryKey(Integer changeId);

    List<Exchangetable> selectAll();

    int updateByPrimaryKey(Exchangetable record);
    /**
     * 根据userId来查询
        * @Title: selectByuserId
        * @Description: TODO(这里用一句话描述这个方法的作用)
        * @param @param userId
        * @param @return    参数
        * @return List<Exchangetable>    返回类型
        * @throws
     */
    List<Exchangetable> selectByuserId(Integer userId);
}